/*
 * @Description: 合同API接口
 * @Author: QianLong
 * @Date: 2019-07-07 19:06:52
 * @LastEditors    : QianLong
 * @LastEditTime   : 2024-03-30 17:32:00
 */
import http from '@/utils/http/axios'

export function getList(params) {
  return http.request({
    url: '/contract/list',
    method: 'GET',
    params
  })
}
export function getAnnexList(params) {
  return http.request({
    url: '/contract/annexList',
    method: 'GET',
    params
  })
}
export function getMoneyList(params) {
  return http.request({
    url: '/contract/moneyList',
    method: 'GET',
    params
  })
}
export function getSignOauthList(params) {
  return http.request({
    url: '/contract/getSignOauthList',
    method: 'GET',
    params
  })
}
export function getOauthTplInfo(params) {
  return http.request({
    url: '/contract/getTplInfo',
    method: 'GET',
    params
  })
}
export function getTplOauthList(params) {
  return http.request({
    url: '/contract/getTplOauthList',
    method: 'GET',
    params
  })
}
export function getContractItem(params) {
  return http.request({
    url: '/contract/getContractItem',
    method: 'GET',
    params
  })
}
export function wordToPdf(params) {
  return http.request({
    url: '/contract/wordToPdf',
    method: 'GET',
    params
  })
}
export function getLogList(params) {
  return http.request({
    url: '/contract/logList',
    method: 'GET',
    params
  })
}
export function getChangeLogList(params) {
  return http.request({
    url: '/contract/logChangeList',
    method: 'GET',
    params
  })
}
export function getSignLogList(params) {
  return http.request({
    url: '/contract/signLogList',
    method: 'GET',
    params
  })
}
export function getVersion(params) {
  return http.request({
    url: '/contract/getVersion',
    method: 'GET',
    params
  })
}
export function getOrderList(params) {
  return http.request({
    url: '/contract/orderList',
    method: 'GET',
    params
  })
}
export function getFeeList(params) {
  return http.request({
    url: '/contract/feeList',
    method: 'GET',
    params
  })
}
export function getCateList(params) {
  return http.request({
    url: '/contract/cate_list',
    method: 'GET',
    params
  })
}
export function getXmList(params) {
  return http.request({
    url: '/contract/xm_list',
    method: 'GET',
    params
  })
}
export function getTransferCodeList(params) {
  return http.request({
    url: '/contract/transfer_code_list',
    method: 'GET',
    params
  })
}
export function getProjectInfo(params) {
  return http.request({
    url: '/contract/getProjectInfo',
    method: 'GET',
    params
  })
}
export function getTplInfo(params) {
  return http.request({
    url: '/contract/getTpl',
    method: 'GET',
    params
  })
}
export function getTplList(params) {
  return http.request({
    url: '/contract/getTplList',
    method: 'GET',
    params
  })
}
export function getSignList(params) {
  return http.request({
    url: '/contract/getSignList',
    method: 'GET',
    params
  })
}
export function getUseTplList(params) {
  return http.request({
    url: '/contract/getUseTplList',
    method: 'GET',
    params
  })
}
export function agreeXy(params) {
  return http.request(
    {
      url: '/contract/agreeXy',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doImportContract(params) {
  return http.request(
    {
      url: '/contract/importContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function contractGetSelectIn(params) {
  return http.request(
    {
      url: '/contract/contractGetSelectIn',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doConfirmContract(params) {
  return http.request(
    {
      url: '/contract/confirmContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doChangeContract(params) {
  return http.request(
    {
      url: '/contract/changeContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editContractMoneyLog(params) {
  return http.request(
    {
      url: '/contract/editContractMoneyLog',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editContractSignOauth(params) {
  return http.request(
    {
      url: '/contract/editContractSignOauth',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editContractTplOauth(params) {
  return http.request(
    {
      url: '/contract/editContractTplOauth',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doCheckSrResult(params) {
  return http.request(
    {
      url: '/contract/checkSrResult',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function setContractExpire(params) {
  return http.request(
    {
      url: '/contract/setContractExpire',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function setContractMoney(params) {
  return http.request(
    {
      url: '/contract/setContractMoney',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function setContractCate(params) {
  return http.request(
    {
      url: '/contract/setContractCate',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function setAnnexBz(params) {
  return http.request(
    {
      url: '/contract/setAnnexBz',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doRechargePay(params) {
  return http.request(
    {
      url: '/contract/rechargePay',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doFreePay(params) {
  return http.request(
    {
      url: '/contract/doFreePay',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delAnnex(params) {
  return http.request(
    {
      url: '/contract/delAnnex',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delMoneyLog(params) {
  return http.request(
    {
      url: '/contract/delMoneyLog',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delSignOauthItem(params) {
  return http.request(
    {
      url: '/contract/delOauthSign',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delTplOauthItem(params) {
  return http.request(
    {
      url: '/contract/delOauthTpl',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function checkVerify(params) {
  return http.request(
    {
      url: '/contract/checkVerify',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editTpl(params) {
  return http.request(
    {
      url: '/contract/saveTpl',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function searchDoc(params) {
  return http.request(
    {
      url: '/contract/searchDoc',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function deleteDoc(params) {
  return http.request(
    {
      url: '/contract/deleteDoc',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delTpl(params) {
  return http.request(
    {
      url: '/contract/delTpl',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function copyTplItem(params) {
  return http.request(
    {
      url: '/contract/copyTplItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function copySignItem(params) {
  return http.request(
    {
      url: '/contract/copySignItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function getItemList(params) {
  return http.request({
    url: '/contract/list',
    method: 'GET',
    params
  })
}
export function getDocCacheList(params) {
  return http.request({
    url: '/contract/getDocCacheList',
    method: 'GET',
    params
  })
}
export function getDocHistoryList(params) {
  return http.request({
    url: '/contract/getDocHistoryList',
    method: 'GET',
    params
  })
}

export function editData(params) {
  return http.request(
    {
      url: '/contract/editItemInfo',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doFQSign(params) {
  return http.request(
    {
      url: '/contract/doFQSign',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function sendSignSms(params) {
  return http.request(
    {
      url: '/contract/sendSignSms',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function sendAllSignSms(params) {
  return http.request(
    {
      url: '/contract/sendAllSignSms',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function saveDocCache(params) {
  return http.request(
    {
      url: '/contract/saveDocCache',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function movecontract(params) {
  return http.request(
    {
      url: '/contract/movecontract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function copycontract(params) {
  return http.request(
    {
      url: '/contract/copycontract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function batchUpdateSort(params) {
  return http.request(
    {
      url: '/contract/batchUpdateSort',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function getContractInfo(params) {
  return http.request({
    url: '/contract/editContract',
    method: 'GET',
    params
  })
}
export function getCateInfo(params) {
  return http.request({
    url: '/contract/editCateItem',
    method: 'GET',
    params
  })
}
export function getOnlyCateList(params) {
  return http.request({
    url: '/contract/onlyCateList',
    method: 'GET',
    params
  })
}
export function getOnlySignList(params) {
  return http.request({
    url: '/contract/onlySignList',
    method: 'GET',
    params
  })
}
export function getContract(params) {
  return http.request(
    {
      url: '/contract/getContract',
      method: 'GET',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}

export function editContractInfo(params) {
  return http.request(
    {
      url: '/contract/editContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function addNewContract(params) {
  return http.request(
    {
      url: '/contract/addNewContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editContractSign(params) {
  return http.request(
    {
      url: '/contract/saveSign',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function exportNewContract(params) {
  return http.request(
    {
      url: '/contract/exportNewContract',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function requestChangeCate(params) {
  return http.request(
    {
      url: '/contract/changeCate',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function requestTransferProject(params) {
  return http.request(
    {
      url: '/contract/transferProject',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editCateInfo(params) {
  return http.request(
    {
      url: '/contract/editCateItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delArtItem(params) {
  return http.request(
    {
      url: '/contract/delArt',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delTplItem(params) {
  return http.request(
    {
      url: '/contract/delTplItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delSignItem(params) {
  return http.request(
    {
      url: '/contract/delSignItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delContractItem(params) {
  return http.request(
    {
      url: '/contract/delContractItem',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delContractItemYj(params) {
  return http.request(
    {
      url: '/contract/delContractItemYj',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delCateItem(params) {
  return http.request(
    {
      url: '/contract/delCate',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function addTransferCode(params) {
  return http.request(
    {
      url: '/contract/add_transfer_code',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}

export function addData(params) {
  return http.request(
    {
      url: '/contract/editItemInfo',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}

export function getItemInfo(params) {
  return http.request({
    url: '/contract/editItemInfo',
    method: 'GET',
    params
  })
}
export function getFileUrl(params) {
  return http.request({
    url: '/contract/getFileUrl',
    method: 'GET',
    params
  })
}
